package org.dromara.frame.api;

import org.dromara.frame.api.domain.FrameImage;

import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;

/**
 * 抽帧服务
 *
 * @author samuel
 * @date 2024-03-25 20:19:26
 */
public interface RemoteFrameService {

    /**
     * 抽帧
     * @param deviceIds  设备id集合
     * @return           抽帧后的图片地址
     */
    List<FrameImage> extraction(List<Long> deviceIds) throws ExecutionException, InterruptedException, TimeoutException;
}
